<!--<a href="--><?php //$this->url(array('action'=>'userpage'), 'account'); ?><!--">О проекте</a>-->
<!--<a href="/userpage"> userpage</a>-->

<div class="wrapper_header_wide2 bg4 wrapper_width23">
         <h5>Прайс-лист:</h5></div>
         </th>
         </tr>
        </thead>
        <tbody><tr>
         <td colspan="2"><br>
        </td>
           </tr>
        <tr>
        <td>



     <?php foreach ($this->paginator as $item):

            ?>


<table class="GridView" >
<thead>
<tr>
<td colspan="2" class="FirstHeader">

         <div class="ufi_ad_panel" style="color: black;">
                 <?=$item['name']?>
             
                </div>
                <div style="padding: 10px;">
                     <img src="/upload/<?=$item['image']['id']?>.jpg">

                </div>
             <table class="GridView">


            </table>

            </td>
            <td style="vertical-align: middle; text-align: right;">

                <a class="menu_buttons" href="/index/view/id/<?=$item['id']?>" id="<?=$item['id']?>"><span> <?= $this->translate('Details') ?></span></a>

                </td>

               </tr>

    <tr>
        <td colspan="2">
            <br>

        </td>
    </tr>

    <tr>
        <td colspan="1" style="font-size: 10px; border-bottom: 1px dashed rgb(85, 85, 85); text-align: right; padding: 5px 0pt;">
  <div align="left"><?= $this->translate('Views') ?>: <?=$item['views'];?></div>
    <td colspan="3" style="font-size: 10px; border-bottom: 1px dashed rgb(85, 85, 85); text-align: right; padding: 5px 0pt;">
     <?=($item['data']->format('d-m-Y'));?>
    </td>
    </tr>


             <tr>

                <td colspan="2"><br>
                </td>
            </tr>


</tbody></table>
        <? endforeach?>

  </div>







<div class="wrapper_footer bg2 wrapper_width24">
<?php echo $this->paginationControl($this->paginator,'Sliding', 'controls.phtml'); ?>
    </div>